package com.heima.feigns.user;

import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description:
 * @Version: V1.0
 */
@FeignClient("leadnews-user")
public interface UserFeign {


    @GetMapping("/api/v1/user/{id}")
    public ApUser findApUserById(@PathVariable("id") Integer id);
}
